home *** CD-ROM | disk | FTP | other *** search
- NAME
- lhread - Read and list LHARC archives in various ways
-
- SYNOPSIS
- lhread [-xvcgh] arcname [filename ...]
-
- X => extract files
- (default) V => list archive contents
- M => narrow list of contents
- P => display text file on standard output
- G => show graphic as picture (BLOAD or PCX)
- H => show and hold picture
-
- DESCRIPTION
- LHREAD can be used to list the contents of an LHARC archive, extract
- files to disk, display text files on 'standard output', and to
- display graphic pictures in BLOAD or PCX format.
-
- 'arcname' is the name of the archive files to be used. This is the
- only required argument. MS-DOS wildcard characters '*' and '?' are
- allowed. If no extension is given, .LZH is assumed.
-
- 'filename' arguments are files to list/test/extract from the archive.
- If no 'filename's are given, all files will be selected. MS-DOS
- wildcard characters '*' and '?' are allowed. LHREAD ignores any
- pathnames stored in the archive when selecting files.
-
- LIST COMMAND
- The list command generates a listing of the selected
- files in the archive.
-
- > lhread -v test
-
- Listing archive TEST.LZH
- --rw- 1161 / 715 5 Apr 89 09:07:38 README
- --rw- 8435 / 8435 12 Apr 89 19:55:38 TEST.DAT
-
- > lhread -m test
- README
- TEST.DAT
-
- EXTRACT COMMAND
- This command extracts the selected files from the archive. If one of
- the files exists, the user will be prompted whether or not he wants to
- overwrite the file. LHX ignores the path and attribute information in
- the archive; the files will be created in the current working directory
- with standard attributes.
-
- >lhread -x test
-
- DISPLAY COMMAND
- This command extracts the selected files from the archive to
- standard output. Standard output appears on the screen if
- not redirected to a file, a printer, some other device or a
- pipe.
-
- >lhread -p docs main.doc
-
- >lhread -p docs main.doc > PRN:
-
- >lhread -p docs names.doc | sort > sorted names
-
- PICTURE COMMAND
- This command extracts the selected graphic files from the archive,
- displaying them on the screen. Supported formats are certain
- BLOAD formats and many .PCX formats.
-
- The G command simply displays a screen and awaits a keypress
- before continuing.
-
- >lhread -g pictures tiger.pcx
-
- The H command displays the screen and exits the program with
- the screen still on display. This is for use when LHREAD is
- called from other programs.
-
-
- ACKNOWLEDGEMENTS
- LHREAD is based on LHX, a tool for checking LHARC archives and
- for extracting files from damaged archives.
-
- This program was written using code from the Usenet distribution
- of LZHUF.C written by Haruyasu Yoshizaki, Haruhiko Okumura, and
- Kenji Rikitake. This is copyrighted code with permission granted
- for non-commercial use.
-
- The LHX program was written by Mark Armbrust, who placed his part
- of the code in the public domain.
-
- Addition of display to standard output and display of graphic
- images were done by Nick Taylor, and is copyright Nick Taylor,
- and permission is granted to distribute and use the system for
- non-commercial use.
-
- Source for the LZHUF.C and LHX parts are available.
-
-
- Distributed by Public (software) Library.
- For a catalog of more than 2000 disks of pd/shareware, call 1-800-2424-PSL
- or write Public (software) Library, P.O.Box 35705, Houston, TX 77235-5705.